package com.example.testmysql.dao;

import com.example.testmysql.entity.TBook;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookDao {

    public int save(TBook book);


    public TBook queryBookByBookName(String bookName);


    void deleteBook(String bookName);

    List<TBook> queryBookByPublisher(String publisher);
}
